package com.goldgov.synchronous.service;

import com.goldgov.utils.DataUtil;
import com.goldgov.utils.PropertyUtil;

public class FlowLearnParams {

	public static final int ISMEMBER_YES = 1;//是流动党员
	public static final int ISMEMBER_NO = 2;//不是流动党员
	
	private String searchOrgID;//机构id
	private String searchUserID;//用户id
	private String searchOrgCode;//机构编码
	private String searchUserName;//用户姓名
	private Integer searchMember;//是否是流动党员
	private String searchYear; //查询年
	private String searchQuarter;// 查询季度
	private String searchMonth;// 查询月份
	private String searchWeek;// 查询周数
	private String searchOrgName;//机构名称
	private String searchLoginID;//登录名
	private String searchTreePath;//查询路径
	private boolean searchChilderOrg;//是否关联子机构 1 true 是
	private String[] searchBranchCode;//存在人员支部编码
	private Integer searchType;//查询类型  1天，2周，3月，4季度 5年
	private Integer searchParam;//查询数据参数
	private String searchTime;//按天查询
	private Integer serarchNextNum;//子组织下的数量
	
	public String getSearchTreePath() {
		return searchTreePath;
	}
	public void setSearchTreePath(String searchTreePath) {
		this.searchTreePath = searchTreePath;
	}
	public String getSearchOrgName() {
		return searchOrgName;
	}
	public void setSearchOrgName(String searchOrgName) {
		this.searchOrgName = searchOrgName;
	}
	public String getSearchLoginID() {
		return searchLoginID;
	}
	public void setSearchLoginID(String searchLoginID) {
		this.searchLoginID = searchLoginID;
	}
	public String getSearchUserName() {
		return searchUserName;
	}
	public void setSearchUserName(String searchUserName) {
		this.searchUserName = searchUserName;
	}
	public Integer getSearchMember() {
		return searchMember;
	}
	public void setSearchMember(Integer searchMember) {
		this.searchMember = searchMember;
	}
	public String getSearchOrgCode() {
		return searchOrgCode;
	}
	public void setSearchOrgCode(String searchOrgCode) {
		this.searchOrgCode = searchOrgCode;
	}
	public String getSearchOrgID() {
		return searchOrgID;
	}
	public void setSearchOrgID(String searchOrgID) {
		this.searchOrgID = searchOrgID;
	}
	public String getSearchUserID() {
		return searchUserID;
	}
	public void setSearchUserID(String searchUserID) {
		this.searchUserID = searchUserID;
	}
	public String getSearchYear() {
		return searchYear;
	}
	public void setSearchYear(String searchYear) {
		this.searchYear = searchYear;
	}
	public String getSearchQuarter() {
		return searchQuarter;
	}
	public void setSearchQuarter(String searchQuarter) {
		this.searchQuarter = searchQuarter;
	}
	public String getSearchMonth() {
		return searchMonth;
	}
	public void setSearchMonth(String searchMonth) {
		this.searchMonth = searchMonth;
	}
	public String getSearchWeek() {
		return searchWeek;
	}
	public void setSearchWeek(String searchWeek) {
		this.searchWeek = searchWeek;
	}
	public boolean isSearchChilderOrg() {
		return searchChilderOrg;
	}
	public void setSearchChilderOrg(boolean searchChilderOrg) {
		this.searchChilderOrg = searchChilderOrg;
	}
	public String[] getSearchBranchCode() {
		if (!PropertyUtil.objectNotEmpty(this.searchBranchCode)) {
			searchBranchCode = DataUtil.BRANCH_CODING;
		}
		return searchBranchCode;
	}
	public void setSearchBranchCode(String[] searchBranchCode) {
		if (!PropertyUtil.objectNotEmpty(searchBranchCode)) {
			searchBranchCode = DataUtil.BRANCH_CODING;
		}
		this.searchBranchCode = searchBranchCode;
	}
	public Integer getSearchType() {
		return searchType;
	}
	public void setSearchType(Integer searchType) {
		this.searchType = searchType;
	}
	public Integer getSearchParam() {
		return searchParam;
	}
	public void setSearchParam(Integer searchParam) {
		this.searchParam = searchParam;
	}
	public Integer getSerarchNextNum() {
		return serarchNextNum;
	}
	public void setSerarchNextNum(Integer serarchNextNum) {
		this.serarchNextNum = serarchNextNum;
	}
	public String getSearchTime() {
		return searchTime;
	}
	public void setSearchTime(String searchTime) {
		this.searchTime = searchTime;
	}
	
	
}
